Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if no header defined should return null #12189

Closed
wants to merge 1 commit into from
Closed

Conversation

tkaven
Copy link

@tkaven tkaven commented Sep 1, 2016

isset($req->getHeaders()[ 'abc' ]) To null !== $req->getHeader('abc')

isset($req->getHeaders()[ 'abc' ]) To null !== $req->getHeader('abc')
@tkaven
Copy link
Author

tkaven commented Sep 1, 2016

what's wrong with AppVeyor? ..

@sergeyklay
Copy link
Member

How about:

if (!$req->getHeader('abc')) {
    // ...
}

Right now it works so.
Also I think that introducing hasHeader is better than changing the current API.

@tkaven
Copy link
Author

tkaven commented Sep 1, 2016

@sergeyklay yes! introducing hasHeader is better than changing the current API :) 👍

@sergeyklay sergeyklay added this to the 3.1.0 milestone Sep 1, 2016
@sergeyklay sergeyklay self-assigned this Sep 1, 2016
@sergeyklay sergeyklay changed the base branch from master to 3.1.x October 15, 2016 16:11
@sergeyklay
Copy link
Member

@tkaven Could you please rebase onto 3.1.x branch

@sergeyklay sergeyklay force-pushed the 3.1.x branch 2 times, most recently from 4d3c73f to 6ef079c Compare April 5, 2017 15:25
@sjinks sjinks closed this Apr 26, 2017
@sjinks sjinks reopened this Apr 26, 2017
@sergeyklay
Copy link
Member

@tkaven ping

@sergeyklay sergeyklay modified the milestones: 4.0.0, 3.2.0 Jun 2, 2017
@niden niden mentioned this pull request Nov 2, 2018
3 tasks
@niden
Copy link
Sponsor Member

niden commented Nov 2, 2018

Closing in favor of #13570

@tkaven Thank you very much for the contribution

@niden niden closed this Nov 2, 2018
@niden niden added this to Done in 4.0.0 Release Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
4.0.0 Release
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants